import cookie from 'js-cookie';

//设置登录态
export function setCookie(value: string) {
  cookie.set('authorization',value,{expires:1})
}
//删除登录态
export function removeCookie() {
  cookie.remove('authorization')
}
//获取登录态
export function getCookie() {
  cookie.get('authorization')
}